<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

    <div class="container">
        <!--表头-->
        <div class="row">
            <div class="page-header">
                <h1>用户信息管理系统<samll>用户列表</samll></h1>
            </div>
        </div>
        <!--数据-->
        <div class="row">
            <table class="table table-bordered table-hover table-striped">
                <tr class="active">
                    <th><input type="checkbox" name="" id=""></th>
                    <th>序号</th>
                    <th>用户名</th>
                    <th>密码</th>
                    <th>状态</th>
                    <th>操作</th>
                </tr>
                <tr th:each="u,stat:${list}">
                    <td><input type="checkbox" name="id" th:value="${u.id}"></td>
                    <td th:text="${stat.count}"></td>
                    <td th:text="${u.username}"></td>
                    <td th:text="${u.password}"></td>
                    <td th:text="${u.status==1 ? '启用' : (u.status==-1 ? '禁用' : '审核中...')}"></td>
                    <td>
                        <button class="btn btn-info btn-sm"><i class="glyphicon glyphicon-info-sign"></i>详情</button>
                        <button class="btn btn-danger btn-sm"><i class="glyphicon glyphicon-trash"></i>删除</button>
                    </td>
                </tr>
            </table>
        </div>
        <!--ctrl+shift+alt+/-->
    </div>

</body>
</html>